package exercise;

public class PrintDigit implements Runnable{

	private ThreadProcess tp;
	

	public PrintDigit(ThreadProcess tp) {
		super();
		this.tp = tp;
	}


	@Override
	public void run() {
		tp.printdigit();
	}

}
